ComponentOne Basic Library for WPF and Silverlight
Show(String,String,String,Action<String,MessageBoxResult>) Method


C1.Silverlight Namespace > C1PromptBox Class > Show Method : Show(String,String,String,Action<String,MessageBoxResult>) Method
The text to display as a message.
The title bar caption.
The default value of content.
An System.Action`1 which is called with the user input.
Displays a prompt box that has a message, title bar caption, content with a default value, and calls back with the user input.
Syntax
'Declaration
 
Public Overloads Shared Sub Show( _
   ByVal message As System.String, _
   ByVal caption As System.String, _
   ByVal defaultValue As System.String, _
   ByVal callback As System.Action(Of String,MessageBoxResult) _
) 
'Usage
 
Dim message As System.String
Dim caption As System.String
Dim defaultValue As System.String
Dim callback As System.Action(Of String,MessageBoxResult)
 
C1PromptBox.Show(message, caption, defaultValue, callback)
public static void Show( 
   System.string message,
   System.string caption,
   System.string defaultValue,
   System.Action<string,MessageBoxResult> callback
)

Parameters

message
The text to display as a message.
caption
The title bar caption.
defaultValue
The default value of content.
callback
An System.Action`1 which is called with the user input.
See Also

Reference

C1PromptBox Class
C1PromptBox Members
Overload List